package com.bcpapp.project.model.dto.post;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 创建请求
 *
 * @TableName product
 */
@Data
public class PostWicketRequest implements Serializable {

    /**
     * 公民身份号码
     */
    @NotBlank(message = "公民身份证号码为空")
    private String gmsfhm;
    /**
     * 姓名
     */
    @NotBlank(message = "公民姓名为空")
    private String xm;
    /*联系电话*/
    private String lxdh;
    /*检票时间*/
    @NotBlank(message = "检票时间为空")
    private String jpsj;
    /*检票类型*/
    @NotBlank(message = "检票类型为空")
    private String jplx;
    /*检票方式*/
    @NotBlank(message = "检票方式为空")
    private String jpfs;
    /*景区名称*/
    @NotBlank(message = "景区名称为空")
    private String jqmc;
    /*景区地址*/
    @NotBlank(message = "景区地址为空")
    private String jqdz;
    /*景区坐标-经度*/
    @NotBlank(message = "经度为空")
    private String jd;
    /*景区坐标-维度*/
    @NotBlank(message = "维度为空")
    private String wd;
    /*运营公司名称*/
    @NotBlank(message = "运营公司名称为空")
    private String yygsmc;


    private static final long serialVersionUID = 1L;


    public String toStringt(){
        return  gmsfhm + "\t" +
                xm + "\t" +
                lxdh + "\t" +
                jpsj + "\t" +
                jplx + "\t" +
                jpfs + "\t" +
                jqmc + "\t" +
                jqdz + "\t" +
                jd + "\t" +
                wd + "\t" +
                yygsmc ;

    }
}